import { getCurrentInstance } from 'vue';
// @ts-ignore
const { proxy } = getCurrentInstance() 
export const api = proxy.$api
